package com.lyj.mapper;

import com.lyj.pojo.Vacation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface VacationMapper {
    //查询全部请假信息
    List<Vacation> queryAllVacation();
    //关键字搜索请假信息
    List<Vacation> queryVacationByName(String username);
    Boolean delVacationByVacaId(int vacationId);


}
